Fix GtkCalendar drawing
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 May 2014 00:37:57 +0000 (20:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 May 2014 00:38:55 +0000 (20:38 -0400)
A gtk_widget_get_allocation call was unintentionally
dropped in 5cb43c70f776a7.

gtk/gtkcalendar.c

index 3ba328e8ece3a5314ede7fd8fb48207cbe2b1c95..c843c84e92b5b7c38501cac00006ecad6be2c483 100644 (file)
@@ -1257,6 +1257,7 @@ calendar_top_y_for_row (GtkCalendar *calendar,
   gint inner_border = calendar_get_inner_border (calendar);
   GtkBorder padding;
 
+  gtk_widget_get_allocation (GTK_WIDGET (calendar), &allocation);
   get_component_paddings (calendar, &padding, NULL, NULL, NULL);
 
   return  allocation.height